c# entity framework get all records from table

122

c# entity framework get all records from table -

DBContext context = new DBContext();
List<MyTableObject> list = context.[tablename].ToList();

Comments

Submit
0 Comments